<!DOCTYPE html>
<html lang="en">
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, ininial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="../static/lib/Semantic-UI/dist/semantic.min.css" th:href="@{/lib/Semantic-UI/dist/semantic.min.css}">
    <link rel="stylesheet" type="text/css" href="../static/css/me.css" th:href="@{/css/me.css}">
    <link rel="stylesheet" type="text/css" href="../static/css/animate.css" th:href="@{/css/animate.css}">
    <link rel="stylesheet" type="text/css" href="../static/css/typo.css" th:href="@{/css/typo.css}">
    <link rel="stylesheet" type="text/css" href="../static/lib/prism/prism.css" th:href="@{/lib/prism/prism.css}">
    <link rel="stylesheet" type="text/css" href="../static/lib/tocbot/tocbot.css" th:href="@{/lib/tocbot/tocbot.css}">

    <title>博客详情</title>
</head>
<body>
<nav th:fragment="menu(n)" class="ui inverted segment m-padded-td-mini m-shadow-small">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu ">

            <h2 class="ui lightblue header item"><img src="../static/images/1.jpg" th:src="@{/images/1.jpg}" alt=""
                                                      class="ui avatar image m-img-place">ToutuBlog
            </h2>
            <a href="#" th:href="@{/}" class="m-item item m-mobile-hide" th:classappend="${n==1} ? 'active'"><i class="home icon"></i>首页</a>
            <a href="#" th:href="@{/tags/-1}" class="m-item item m-mobile-hide" th:classappend="${n==2} ? 'active'"><i class="tags icon"></i>标签</a>
            <a href="#" th:href="@{/types/-1}" class="m-item item m-mobile-hide" th:classappend="${n==3} ? 'active'"><i class="idea icon"></i>分类</a>
            <a href="#" th:href="@{/archives}" class="m-item item m-mobile-hide" th:classappend="${n==4} ? 'active'"><i class="archive icon"></i>归档</a>
            <!--搜索栏-->
            <div class="right m-item item m-mobile-hide">
                <form name="search" action="#" th:action="@{/search}" method="post" target="_blank">
                    <div class="ui icon inverted transparent input m-margin-tb-tiny">
                        <input type="text" name="query" placeholder="搜索" th:value="${query}">
                        <i onclick="document.forms['search'].submit()" class="search link icon"></i>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <a href="#" class="ui menu toggle black icon button m-top-right m-computer-hide ">
        <i class="sidebar icon"></i>
    </a>
</nav>
<footer th:fragment="footer" class="ui inverted vertical segment m-padded-td-foot">
    <div class="ui container center aligned">
        <div class="ui inverted divided stackable grid">
            <div class="two wide column center aligned">
                <h4 class="ui inverted header">最新博客</h4>
                <div id="newblog-container">
                    <div class="ui inverted link list" th:fragment="newblogList">
                        <a href="#" th:href="@{/blog/{id}(id=${blog.id})}" target="_blank" class="item" th:each="blog : ${newblogs}" th:text="${blog.title}">推荐</a>
                    </div>
                </div>
            </div>

            <div class="ten wide column">
                <img src="../static/images/mmexport1623033757364.jpg" th:src="@{/images/mmexport1623033757364.jpg}"
                     class="ui rounded images" alt=""
                     style="width: 100px">
                <div style="float:right;">
                    <h4 class="ui inverted header center aligned">关于我</h4>
                    <p class="m-opacity-mini ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;一个将要秃头的准程序员做的第一个项目，这是我第一次接触前端，全是照着教程敲出</p>
                    <p class="m-opacity-mini ">来的。主要看的是后端，前端随便做了一个。</p>
                </div>
            </div>

            <div class="four wide column center aligned">
                <h4 class="ui inverted header center aligned">联系我</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item" th:text="|Email:&ensp; #{index.email}|">1294863577@qq.com</a>
                    <br>
                    <a href="#" class="item" th:text="|Wechat:&ensp;#{index.wechat}|">ww17695456199</a>
                </div>
            </div>

        </div>
        <div class="ui inverted section divider "></div>
        <p class="m-opacity-mini">备案号备案号备案号备案号备案号备案号备案号备案号备案号</p>


    </div>
</footer>
</body>
</html>